<script setup lang="ts">
import type { RecordModel } from '$/client'
import { getDateLabel } from '@/scripts/utils'

defineProps<{ info: RecordModel }>()
</script>

<template>
  <div class="flex flex-col">
    <div>创建时间: {{ getDateLabel(info.createTime) }}</div>
    <div>更新时间: {{ getDateLabel(info.updateTime) }}</div>
  </div>
</template>
